from django.contrib.auth.models import AbstractUser
from django.db import models

# Create your models here.

class NormalUser(AbstractUser):
    telephone = models.CharField(max_length=11, unique=True, null=True)
    UID = models.IntegerField(unique=True, null=True)
    avatar = models.ImageField(upload_to='avatar/')

    class Meta:
        verbose_name = '用户'
        verbose_name_plural = '用户'
